Skip to content

fixed PEAR config / installation #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fixed PEAR config / installation #5

wants to merge 1 commit into from

Conversation

immutef
Copy link

@immutef immutef commented Aug 9, 2011

closes #4

After successfully installing Mutagenesis, this error appears (caused by the WIP refactoring?):

All initial checks successful! The mutagenic slime has been activated.

    > 
    > Parse error: syntax error, unexpected ':' in - on line 6
    > 

Stand by...Mutation Testing commencing.

PHP Fatal error:  Uncaught exception 'Exception' with message 'Log file could not be read' in /usr/local/Cellar/php/5.3.6/lib/php/Mutagenesis/Utility/TestTimeAnalyser.php:32
Stack trace:
#0 /usr/local/Cellar/php/5.3.6/lib/php/Mutagenesis/Runner/Base.php(66): Mutagenesis\Utility\TestTimeAnalyser->__construct('/var/folders/32...')
#1 /usr/local/Cellar/php/5.3.6/lib/php/Mutagenesis/Console.php(77): Mutagenesis\Runner\Base->execute()
#2 /usr/local/Cellar/php/5.3.6/bin/mutagenesis(13): Mutagenesis\Console::main()
#3 {main}
  thrown in /usr/local/Cellar/php/5.3.6/lib/php/Mutagenesis/Utility/TestTimeAnalyser.php on line 32

Fatal error: Uncaught exception 'Exception' with message 'Log file could not be read' in /usr/local/Cellar/php/5.3.6/lib/php/Mutagenesis/Utility/TestTimeAnalyser.php on line 32

Exception: Log file could not be read in /usr/local/Cellar/php/5.3.6/lib/php/Mutagenesis/Utility/TestTimeAnalyser.php on line 32

Call Stack:
    0.0023     631552   1. {main}() /usr/local/Cellar/php/5.3.6/bin/mutagenesis:0
    0.0031     729424   2. Mutagenesis\Console::main(???, ???) /usr/local/Cellar/php/5.3.6/bin/mutagenesis:13
    0.0042     945560   3. Mutagenesis\Runner\Base->execute() /usr/local/Cellar/php/5.3.6/lib/php/Mutagenesis/Console.php:77
    0.0598    1405664   4. Mutagenesis\Utility\TestTimeAnalyser->__construct(string(64)) /usr/local/Cellar/php/5.3.6/lib/php/Mutagenesis/Runner/Base.php:66

@padraic
Copy link
Owner

padraic commented Aug 9, 2011

Refactoring error ;). Ran out of time to finish a change. Usually fix them quickly but we're having a debate in Zend Framework land. I should have master operational at the weekend.

Paddy

On 9 Aug 2011, at 09:04, pminnieur [email protected] wrote:

closes #4

After successfully installing Mutagenesis, this error appears (caused by the WIP refactoring?):

All initial checks successful! The mutagenic slime has been activated.

Parse error: syntax error, unexpected ':' in - on line 6

Stand by...Mutation Testing commencing.

PHP Fatal error: Uncaught exception 'Exception' with message 'Log file could not be read' in /usr/local/Cellar/php/5.3.6/lib/php/Mutagenesis/Utility/TestTimeAnalyser.php:32
Stack trace:
#0 /usr/local/Cellar/php/5.3.6/lib/php/Mutagenesis/Runner/Base.php(66): Mutagenesis\Utility\TestTimeAnalyser->__construct('/var/folders/32...')
#1 /usr/local/Cellar/php/5.3.6/lib/php/Mutagenesis/Console.php(77): Mutagenesis\Runner\Base->execute()
#2 /usr/local/Cellar/php/5.3.6/bin/mutagenesis(13): Mutagenesis\Console::main()
#3 {main}
thrown in /usr/local/Cellar/php/5.3.6/lib/php/Mutagenesis/Utility/TestTimeAnalyser.php on line 32

Fatal error: Uncaught exception 'Exception' with message 'Log file could not be read' in /usr/local/Cellar/php/5.3.6/lib/php/Mutagenesis/Utility/TestTimeAnalyser.php on line 32

Exception: Log file could not be read in /usr/local/Cellar/php/5.3.6/lib/php/Mutagenesis/Utility/TestTimeAnalyser.php on line 32

Call Stack:
0.0023 631552 1. {main}() /usr/local/Cellar/php/5.3.6/bin/mutagenesis:0
0.0031 729424 2. Mutagenesis\Console::main(???, ???) /usr/local/Cellar/php/5.3.6/bin/mutagenesis:13
0.0042 945560 3. Mutagenesis\Runner\Base->execute() /usr/local/Cellar/php/5.3.6/lib/php/Mutagenesis/Console.php:77
0.0598 1405664 4. Mutagenesis\Utility\TestTimeAnalyser->__construct(string(64)) /usr/local/Cellar/php/5.3.6/lib/php/Mutagenesis/Runner/Base.php:66

Reply to this email directly or view it on GitHub:
#5

@immutef
Copy link
Author

immutef commented Aug 10, 2011

If I could help you with some refactorings, just let me know what's left over, maybe I could help ;-)

@sebastianbergmann
Copy link
Contributor

Any update on getting this to work again?

@padraic
Copy link
Owner

padraic commented Sep 6, 2011

Hi Sebastian,

Mutagenesis is being refitted so to speak - once Zend Framework land is in better shape. I'll have it back up and running properly in a few weeks.

 
Pádraic Brady

http://blog.astrumfutura.com
http://www.survivethedeepend.com
Zend Framework Community Review Team


From: sebastianbergmann [email protected]
To: [email protected]
Sent: Tuesday, September 6, 2011 8:27 PM
Subject: Re: [mutagenesis] fixed PEAR config / installation (#5)

Even with these changes I cannot get mutagenesis to work:

    ➜  bankaccount git:(master) mutagenesis
    Mutagenesis: Mutation Testing for PHP

    Notice: Undefined offset: 1 in /usr/local/php-5.4/lib/php/Mutagenesis/Utility/Process.php on line 126

    Call Stack:
        0.0004    280232  1. {main}() /usr/local/php-5.4/bin/mutagenesis:0
        0.0016    351824  2. Mutagenesis\Console::main() /usr/local/php-5.4/bin/mutagenesis:13
        0.0037    516008  3. Mutagenesis\Runner\Base->execute() /usr/local/php-5.4/lib/php/Mutagenesis/Console.php:77
        0.0079    753776  4. Mutagenesis\Adapter\Phpunit->runTests() /usr/local/php-5.4/lib/php/Mutagenesis/Runner/Base.php:48
        0.0083    766936  5. Mutagenesis\Adapter\Phpunit::execute() /usr/local/php-5.4/lib/php/Mutagenesis/Adapter/Phpunit.php:91
        0.0087    791392  6. Mutagenesis\Utility\Process::run() /usr/local/php-5.4/lib/php/Mutagenesis/Adapter/Phpunit.php:107
        0.0087    791592  7. Mutagenesis\Utility\Process::_getPhpBinary() /usr/local/php-5.4/lib/php/Mutagenesis/Utility/Process.php:82

    All initial checks successful! The mutagenic slime has been activated.

        >
        > Parse error: syntax error, unexpected ':' in - on line 6
        >
        >

    Stand by...Mutation Testing commencing.

    Fatal error: Uncaught exception 'Exception' with message 'Log file could not be read' in /usr/local/php-5.4/lib/php/Mutagenesis/Utility/TestTimeAnalyser.php on line 32

    Exception: Log file could not be read in /usr/local/php-5.4/lib/php/Mutagenesis/Utility/TestTimeAnalyser.php on line 32

    Call Stack:
        0.0004    280232  1. {main}() /usr/local/php-5.4/bin/mutagenesis:0
        0.0016    351824  2. Mutagenesis\Console::main() /usr/local/php-5.4/bin/mutagenesis:13
        0.0037    516008  3. Mutagenesis\Runner\Base->execute() /usr/local/php-5.4/lib/php/Mutagenesis/Console.php:77
        0.0292    803832  4. Mutagenesis\Utility\TestTimeAnalyser->__construct() /usr/local/php-5.4/lib/php/Mutagenesis/Runner/Base.php:66

Reply to this email directly or view it on GitHub:
#5 (comment)

@eddiejaoude
Copy link

Wish I read this sooner, I think I just did the same fix & pull request :-/.

When can we get one of these pull requests in?

Also can a tag be done, so in future there is a stable version for people to use if something is incomplete?

Thanks,
E.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Installing as PEAR Library does not work
4 participants